package com.pactera.asmp.server.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TaskColdHotStartupLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TaskColdHotStartupLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTestReportIdIsNull() {
            addCriterion("test_report_id is null");
            return (Criteria) this;
        }

        public Criteria andTestReportIdIsNotNull() {
            addCriterion("test_report_id is not null");
            return (Criteria) this;
        }

        public Criteria andTestReportIdEqualTo(Integer value) {
            addCriterion("test_report_id =", value, "testReportId");
            return (Criteria) this;
        }

        public Criteria andTestReportIdNotEqualTo(Integer value) {
            addCriterion("test_report_id <>", value, "testReportId");
            return (Criteria) this;
        }

        public Criteria andTestReportIdGreaterThan(Integer value) {
            addCriterion("test_report_id >", value, "testReportId");
            return (Criteria) this;
        }

        public Criteria andTestReportIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("test_report_id >=", value, "testReportId");
            return (Criteria) this;
        }

        public Criteria andTestReportIdLessThan(Integer value) {
            addCriterion("test_report_id <", value, "testReportId");
            return (Criteria) this;
        }

        public Criteria andTestReportIdLessThanOrEqualTo(Integer value) {
            addCriterion("test_report_id <=", value, "testReportId");
            return (Criteria) this;
        }

        public Criteria andTestReportIdIn(List<Integer> values) {
            addCriterion("test_report_id in", values, "testReportId");
            return (Criteria) this;
        }

        public Criteria andTestReportIdNotIn(List<Integer> values) {
            addCriterion("test_report_id not in", values, "testReportId");
            return (Criteria) this;
        }

        public Criteria andTestReportIdBetween(Integer value1, Integer value2) {
            addCriterion("test_report_id between", value1, value2, "testReportId");
            return (Criteria) this;
        }

        public Criteria andTestReportIdNotBetween(Integer value1, Integer value2) {
            addCriterion("test_report_id not between", value1, value2, "testReportId");
            return (Criteria) this;
        }

        public Criteria andScriptIdIsNull() {
            addCriterion("script_id is null");
            return (Criteria) this;
        }

        public Criteria andScriptIdIsNotNull() {
            addCriterion("script_id is not null");
            return (Criteria) this;
        }

        public Criteria andScriptIdEqualTo(Integer value) {
            addCriterion("script_id =", value, "scriptId");
            return (Criteria) this;
        }

        public Criteria andScriptIdNotEqualTo(Integer value) {
            addCriterion("script_id <>", value, "scriptId");
            return (Criteria) this;
        }

        public Criteria andScriptIdGreaterThan(Integer value) {
            addCriterion("script_id >", value, "scriptId");
            return (Criteria) this;
        }

        public Criteria andScriptIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("script_id >=", value, "scriptId");
            return (Criteria) this;
        }

        public Criteria andScriptIdLessThan(Integer value) {
            addCriterion("script_id <", value, "scriptId");
            return (Criteria) this;
        }

        public Criteria andScriptIdLessThanOrEqualTo(Integer value) {
            addCriterion("script_id <=", value, "scriptId");
            return (Criteria) this;
        }

        public Criteria andScriptIdIn(List<Integer> values) {
            addCriterion("script_id in", values, "scriptId");
            return (Criteria) this;
        }

        public Criteria andScriptIdNotIn(List<Integer> values) {
            addCriterion("script_id not in", values, "scriptId");
            return (Criteria) this;
        }

        public Criteria andScriptIdBetween(Integer value1, Integer value2) {
            addCriterion("script_id between", value1, value2, "scriptId");
            return (Criteria) this;
        }

        public Criteria andScriptIdNotBetween(Integer value1, Integer value2) {
            addCriterion("script_id not between", value1, value2, "scriptId");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNull() {
            addCriterion("task_id is null");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNotNull() {
            addCriterion("task_id is not null");
            return (Criteria) this;
        }

        public Criteria andTaskIdEqualTo(Integer value) {
            addCriterion("task_id =", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotEqualTo(Integer value) {
            addCriterion("task_id <>", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThan(Integer value) {
            addCriterion("task_id >", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_id >=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThan(Integer value) {
            addCriterion("task_id <", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThanOrEqualTo(Integer value) {
            addCriterion("task_id <=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdIn(List<Integer> values) {
            addCriterion("task_id in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotIn(List<Integer> values) {
            addCriterion("task_id not in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdBetween(Integer value1, Integer value2) {
            addCriterion("task_id between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotBetween(Integer value1, Integer value2) {
            addCriterion("task_id not between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andPackageNameIsNull() {
            addCriterion("package_name is null");
            return (Criteria) this;
        }

        public Criteria andPackageNameIsNotNull() {
            addCriterion("package_name is not null");
            return (Criteria) this;
        }

        public Criteria andPackageNameEqualTo(String value) {
            addCriterion("package_name =", value, "packageName");
            return (Criteria) this;
        }

        public Criteria andPackageNameNotEqualTo(String value) {
            addCriterion("package_name <>", value, "packageName");
            return (Criteria) this;
        }

        public Criteria andPackageNameGreaterThan(String value) {
            addCriterion("package_name >", value, "packageName");
            return (Criteria) this;
        }

        public Criteria andPackageNameGreaterThanOrEqualTo(String value) {
            addCriterion("package_name >=", value, "packageName");
            return (Criteria) this;
        }

        public Criteria andPackageNameLessThan(String value) {
            addCriterion("package_name <", value, "packageName");
            return (Criteria) this;
        }

        public Criteria andPackageNameLessThanOrEqualTo(String value) {
            addCriterion("package_name <=", value, "packageName");
            return (Criteria) this;
        }

        public Criteria andPackageNameLike(String value) {
            addCriterion("package_name like", value, "packageName");
            return (Criteria) this;
        }

        public Criteria andPackageNameNotLike(String value) {
            addCriterion("package_name not like", value, "packageName");
            return (Criteria) this;
        }

        public Criteria andPackageNameIn(List<String> values) {
            addCriterion("package_name in", values, "packageName");
            return (Criteria) this;
        }

        public Criteria andPackageNameNotIn(List<String> values) {
            addCriterion("package_name not in", values, "packageName");
            return (Criteria) this;
        }

        public Criteria andPackageNameBetween(String value1, String value2) {
            addCriterion("package_name between", value1, value2, "packageName");
            return (Criteria) this;
        }

        public Criteria andPackageNameNotBetween(String value1, String value2) {
            addCriterion("package_name not between", value1, value2, "packageName");
            return (Criteria) this;
        }

        public Criteria andActivityNameIsNull() {
            addCriterion("activity_name is null");
            return (Criteria) this;
        }

        public Criteria andActivityNameIsNotNull() {
            addCriterion("activity_name is not null");
            return (Criteria) this;
        }

        public Criteria andActivityNameEqualTo(String value) {
            addCriterion("activity_name =", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotEqualTo(String value) {
            addCriterion("activity_name <>", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameGreaterThan(String value) {
            addCriterion("activity_name >", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameGreaterThanOrEqualTo(String value) {
            addCriterion("activity_name >=", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameLessThan(String value) {
            addCriterion("activity_name <", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameLessThanOrEqualTo(String value) {
            addCriterion("activity_name <=", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameLike(String value) {
            addCriterion("activity_name like", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotLike(String value) {
            addCriterion("activity_name not like", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameIn(List<String> values) {
            addCriterion("activity_name in", values, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotIn(List<String> values) {
            addCriterion("activity_name not in", values, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameBetween(String value1, String value2) {
            addCriterion("activity_name between", value1, value2, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotBetween(String value1, String value2) {
            addCriterion("activity_name not between", value1, value2, "activityName");
            return (Criteria) this;
        }

        public Criteria andStartupResponseTimeIsNull() {
            addCriterion("startup_response_time is null");
            return (Criteria) this;
        }

        public Criteria andStartupResponseTimeIsNotNull() {
            addCriterion("startup_response_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartupResponseTimeEqualTo(BigDecimal value) {
            addCriterion("startup_response_time =", value, "startupResponseTime");
            return (Criteria) this;
        }

        public Criteria andStartupResponseTimeNotEqualTo(BigDecimal value) {
            addCriterion("startup_response_time <>", value, "startupResponseTime");
            return (Criteria) this;
        }

        public Criteria andStartupResponseTimeGreaterThan(BigDecimal value) {
            addCriterion("startup_response_time >", value, "startupResponseTime");
            return (Criteria) this;
        }

        public Criteria andStartupResponseTimeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("startup_response_time >=", value, "startupResponseTime");
            return (Criteria) this;
        }

        public Criteria andStartupResponseTimeLessThan(BigDecimal value) {
            addCriterion("startup_response_time <", value, "startupResponseTime");
            return (Criteria) this;
        }

        public Criteria andStartupResponseTimeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("startup_response_time <=", value, "startupResponseTime");
            return (Criteria) this;
        }

        public Criteria andStartupResponseTimeIn(List<BigDecimal> values) {
            addCriterion("startup_response_time in", values, "startupResponseTime");
            return (Criteria) this;
        }

        public Criteria andStartupResponseTimeNotIn(List<BigDecimal> values) {
            addCriterion("startup_response_time not in", values, "startupResponseTime");
            return (Criteria) this;
        }

        public Criteria andStartupResponseTimeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("startup_response_time between", value1, value2, "startupResponseTime");
            return (Criteria) this;
        }

        public Criteria andStartupResponseTimeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("startup_response_time not between", value1, value2, "startupResponseTime");
            return (Criteria) this;
        }

        public Criteria andStartupChangeTimeIsNull() {
            addCriterion("startup_change_time is null");
            return (Criteria) this;
        }

        public Criteria andStartupChangeTimeIsNotNull() {
            addCriterion("startup_change_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartupChangeTimeEqualTo(BigDecimal value) {
            addCriterion("startup_change_time =", value, "startupChangeTime");
            return (Criteria) this;
        }

        public Criteria andStartupChangeTimeNotEqualTo(BigDecimal value) {
            addCriterion("startup_change_time <>", value, "startupChangeTime");
            return (Criteria) this;
        }

        public Criteria andStartupChangeTimeGreaterThan(BigDecimal value) {
            addCriterion("startup_change_time >", value, "startupChangeTime");
            return (Criteria) this;
        }

        public Criteria andStartupChangeTimeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("startup_change_time >=", value, "startupChangeTime");
            return (Criteria) this;
        }

        public Criteria andStartupChangeTimeLessThan(BigDecimal value) {
            addCriterion("startup_change_time <", value, "startupChangeTime");
            return (Criteria) this;
        }

        public Criteria andStartupChangeTimeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("startup_change_time <=", value, "startupChangeTime");
            return (Criteria) this;
        }

        public Criteria andStartupChangeTimeIn(List<BigDecimal> values) {
            addCriterion("startup_change_time in", values, "startupChangeTime");
            return (Criteria) this;
        }

        public Criteria andStartupChangeTimeNotIn(List<BigDecimal> values) {
            addCriterion("startup_change_time not in", values, "startupChangeTime");
            return (Criteria) this;
        }

        public Criteria andStartupChangeTimeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("startup_change_time between", value1, value2, "startupChangeTime");
            return (Criteria) this;
        }

        public Criteria andStartupChangeTimeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("startup_change_time not between", value1, value2, "startupChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloseResponseTimeIsNull() {
            addCriterion("close_response_time is null");
            return (Criteria) this;
        }

        public Criteria andCloseResponseTimeIsNotNull() {
            addCriterion("close_response_time is not null");
            return (Criteria) this;
        }

        public Criteria andCloseResponseTimeEqualTo(BigDecimal value) {
            addCriterion("close_response_time =", value, "closeResponseTime");
            return (Criteria) this;
        }

        public Criteria andCloseResponseTimeNotEqualTo(BigDecimal value) {
            addCriterion("close_response_time <>", value, "closeResponseTime");
            return (Criteria) this;
        }

        public Criteria andCloseResponseTimeGreaterThan(BigDecimal value) {
            addCriterion("close_response_time >", value, "closeResponseTime");
            return (Criteria) this;
        }

        public Criteria andCloseResponseTimeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("close_response_time >=", value, "closeResponseTime");
            return (Criteria) this;
        }

        public Criteria andCloseResponseTimeLessThan(BigDecimal value) {
            addCriterion("close_response_time <", value, "closeResponseTime");
            return (Criteria) this;
        }

        public Criteria andCloseResponseTimeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("close_response_time <=", value, "closeResponseTime");
            return (Criteria) this;
        }

        public Criteria andCloseResponseTimeIn(List<BigDecimal> values) {
            addCriterion("close_response_time in", values, "closeResponseTime");
            return (Criteria) this;
        }

        public Criteria andCloseResponseTimeNotIn(List<BigDecimal> values) {
            addCriterion("close_response_time not in", values, "closeResponseTime");
            return (Criteria) this;
        }

        public Criteria andCloseResponseTimeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("close_response_time between", value1, value2, "closeResponseTime");
            return (Criteria) this;
        }

        public Criteria andCloseResponseTimeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("close_response_time not between", value1, value2, "closeResponseTime");
            return (Criteria) this;
        }

        public Criteria andCloseChangeTimeIsNull() {
            addCriterion("close_change_time is null");
            return (Criteria) this;
        }

        public Criteria andCloseChangeTimeIsNotNull() {
            addCriterion("close_change_time is not null");
            return (Criteria) this;
        }

        public Criteria andCloseChangeTimeEqualTo(BigDecimal value) {
            addCriterion("close_change_time =", value, "closeChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloseChangeTimeNotEqualTo(BigDecimal value) {
            addCriterion("close_change_time <>", value, "closeChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloseChangeTimeGreaterThan(BigDecimal value) {
            addCriterion("close_change_time >", value, "closeChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloseChangeTimeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("close_change_time >=", value, "closeChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloseChangeTimeLessThan(BigDecimal value) {
            addCriterion("close_change_time <", value, "closeChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloseChangeTimeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("close_change_time <=", value, "closeChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloseChangeTimeIn(List<BigDecimal> values) {
            addCriterion("close_change_time in", values, "closeChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloseChangeTimeNotIn(List<BigDecimal> values) {
            addCriterion("close_change_time not in", values, "closeChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloseChangeTimeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("close_change_time between", value1, value2, "closeChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloseChangeTimeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("close_change_time not between", value1, value2, "closeChangeTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}